package com.jming.jike.service.front;

import com.jming.jike.dto.front.UserDTO;
import com.jming.jike.dto.front.UserLoginDTO;
import com.jming.jike.entity.User;
import com.jming.jike.vo.front.UserVO;

/**
 * @author jinming.zhang
 * @version 0.0.1
 * @date 2022/04/16
 */
public interface UserService {

    /**
     * 获取验证码接口
     *
     * @param userLoginDTO
     * @return String
     * @Author jinming.zhang
     * @Date 2022/5/26
     */
    Boolean getCode(UserLoginDTO userLoginDTO);

    /**
     * 用户登录接口
     *
     * @param userLoginDTO
     * @return User
     * @Author jinming.zhang
     * @Date 2022/5/26
     */
    User login(UserLoginDTO userLoginDTO);

    /**
     * 获取个人信息
     *
     * @param
     * @return UserVO
     * @Author jinming.zhang
     * @Date 2022/5/31
     */
    UserVO getUserInfo();

    /**
     * 修改用户信息
     *
     * @param userDTO
     * @return Boolean
     * @Author jinming.zhang
     * @Date 2022/5/31
     */
    Boolean updateUserInfo(UserDTO userDTO);

}
